package com.dgw.mybatis.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.dgw.mybatis.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @program: spring-boot-mybatis
 * @description:
 * @author: Mr.Dai
 * @create: 2020-02-08 22:22
 **/
@Mapper
public interface UserMapper3 extends BaseMapper<User> {
    // mybatis 原始方法
    List<User> getUserList();

    User findUserByUsername(String username);

}
